Using msysgit on Windows, I can do this:
git checkout head
or
git checkout HEAD
Either works. I don\'t ha
The case-sensitivity of HEAD is depending on the case-sensitivity of file system of the OS.
When you checkout HEAD, git actually looks for a file named "HEAD" under the folder .git. If you type HEAD in small letters, git looks for the file name with small letters. You can see the .git/HEAD file actually contains the hash code of the commit HEAD pointing to.
Because of this, the typical case-sensitivities of HEAD are: