test for git checkout