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 fetchcommand downloads contents from remote repositorygit checkoutcommand lets you navigate to another branchgit addcommand adds a change in the working directory to the staging areagit commitcommand 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!


