Correction on effects of git-checkout