Pull the files from another branch into your branch can be messy. What if you just want to pull one file from another branch? You can easily to like that with the code snippet below
git fetch
command downloads contents from remote repositorygit checkout
command lets you navigate to another branchgit add
command adds a change in the working directory to the staging areagit commit
command captures the state of a project at that point in time
Now you just update one file in your branch without messing with the rest!