To get all files from the repo:
git reset --hard
If I want to get a file from the repo (source: this stackoverflow) use checkout:
git checkout HEAD -- filename.pyTo get all files from the repo:
git reset --hard
If I want to get a file from the repo (source: this stackoverflow) use checkout:
git checkout HEAD -- filename.py