By doing this all uncommitted local changes to tracked files will be lost and the local files that are not tracked by git will not be affected.
git checkout --f
git pull --all
best way is that stash your changes means that keep your changes in git record that does not do any effect on your any brach or repository later you can use this code using apply stash
git stash --include-untracked
how to apply stash using git cmd
git stash pop