SyntaxFix
Write A Post
Hire A Developer
Questions
The correct answer is
git checkout -m origin/master
It merges changes from the origin master branch with your local even uncommitted changes.