Talking of history, lets see how to view it now. Running:
will give you a list of every commit that has ever happened in your repository. Each row consists of a hash (a random sequence used as an identifier), the commit message, who created the commit and the date and time.
You can also view the history of a particular file (don’t worry too much about what master means just yet):
git log master file_name.txt
This will give you the same rows, but only show commits that relate to that particular file. Many git commands accept a file name as an argument, why not experiment?
There is also a more advanced version of log called
git blame file_name.txt
This command goes through line by line giving you the person who last edited that line, and when. It will also give you the commit hashes associated with that change. This is a powerful command, however log is used much often.