git checkout with -q