How Can I View an Old Version of a File with Git? To view an old version of a file with Git, you have several options depending on whether you want to simply view it, compare it with other versions, or temporarily restore it.