I have recently moved from SVN to Git and am a bit confused about something. I needed to run the previous version of a script through a debugger, so I did git checkout <
git checkout <
To return to the latest version:
git checkout
For example, git checkout master or git checkout dev
git checkout master
git checkout dev