git fetch pulls references to the remote branches that are being created on (in this case) BItbucket. git checkout moves your current directory into a specific branch or a specific commit (depending the parameter).
git clone is to fetch your repositories from the remote git server. git checkout is to checkout your desired status of your repository (like branches or particular files). E.g., you are currently on master branch and you want to switch into develop branch.
git branch creates the branch but you remain in the current branch that you have checked out. git checkout -b creates a branch and checks it out. Let's rather say: "git branch creates the branch but you remain in the current branch FROM WHICH you have checked out."
No. A “git pull” is when you run the “git pull” command, which copies changes from a remote repo to your repo*.
The git pull command is used to fetch and download content from a remote repository and immediately update the local repository to match that content. Once the content is downloaded, git pull will enter a merge workflow. A new merge commit will be-created and HEAD updated to point at the new commit.
The git checkout command lets you navigate between the branches created by git branch . Checking out a branch updates the files in the working directory to match the version stored in that branch, and it tells Git to record all new commits on that branch.
A detached HEAD occurs when you are viewing a single commit in the history of a Git repository. You'll see a message whenever you enter into detached HEAD state informing you that you are no longer on a branch.
We use Git pull when one is working alone on the branch. Since there is no point in reviewing your changes again, you can directly pull them to your repository. Using Git pull command is no different than using Git merge command. Just keep in mind that git pull is a short cut to git fetch and git merge.
In Git terms, a "checkout" is the act of switching between different versions of a target entity. The git checkout command operates upon three distinct entities: files, commits, and branches. In the Undoing Changes topic, we saw how git checkout can be used to view old commits.
If you have uncommitted changes, the merge part of the git pull command will fail and your local branch will be untouched. Thus, you should always commit your changes in a branch before pulling new commits from a remote repository.
Future Trunks not only discovered how to tap into the powers of Super Saiyan 2 all on his own, but he also mastered a Super Saiyan Rage transformation that enables him to compete with someone as strong as Super Saiyan Rosé Goku Black.
"FYI" is certainly informal, but "for your information" can have a place in formal communication as well. The full phrase, written out, sounds a bit cold and abrupt unless placed in a larger context where a more polite meaning is clear.