When you have multiple instances or sync for local ide. You might want to checkout all changes and then do git pull. The issue is that there are different commands for different actions. This can basically be achieved by two commands in a row.
Source code viewer
git clean -df git checkout -- .Programming Language: Bash