how to get git full project check out In our particular case, we want to overwrite these files. So what do we do? We use the following: ? 1 2 git fetch --all git reset --hard origin /master This grabs the latest repository files without merging and resets the master branch and overwrites the modified ones.