git checkout improved. Fixed checking out branches instead of commits.