Changed git checkout to create branch; checkout certain tag or commit should work as well.