require git checkout of autostaging for rebuildstaging --deploy
Merge pull request #3775 from dimagi/require-git-checkout

require git checkout of autostaging for rebuildstaging --deploy