create remote branch
Select Create branch as shown below
Then the developer pulling the update locally will become a tracking origin/dev
branch
Then create a new branch locally (preferably with the same name as the remote branch ) and track the origin/dev branch
Modify the file and submit it
Switch back to the master branch to see that the code remains unchanged