$ git status
On branch master
1) master is the name of the branch.
2) It is a reference(pointer) to last commit id. Hence where ever we required to use last
commit id, simply we can use reference master.
3) This information is available in .git/refs/heads/master file.
The following two commands will produce same output.
$ git show 49aa8d7
$ git show master