Used terms in Github

  • Repository: Repository is basically a project folder which contains all the related information and the codes related to the project.

  • Remote: Remote is used for referring to any repository which is hosted on github.

  • Branch: Master branch is the stable piece of code which you can show to the client. While you try to make a change to the branch, you don’t change the main branch, but the copy of it. When the change is run successfully, you merge the copy of the branch again to the master branch. The master branch is the version that always works.

  • Commit: Committing means you are keeping a track of all the changes that you do in a github repository. Suppose you add a feature in your model, you “commit: it to the GitHub repository

  • Head: The topmost commit to any branch is called head.

  • Push: The transfer of code from the local git to the remote git is called push.

  • Fork: Fork means you are making a copy of the repository in your own github profile. The difference between cloning and fork is that while cloning is done in the local system, the fork is done in a Github profile.

  • Pull: Transfer the changes done in the remote repository to the local git is called pull.

  • Clone: You use cloning when you want to duplicate the repository.

  • https://training.github.com/downloads/github-git-cheat-sheet.pdf