Quick reference

Glossary

  • repository: One copy of code. All the files managed by git - contains all data and history.

  • commit:

    • noun: One version of the code. Snapshot of the project, gets a unique identifier (e.g. c7f0e8bfc718be04525847fc7ac237f470add76e)

    • verb: The action you take when making a new commit.

  • branch: One line of work. Different branches can exist at the same time and be merged together.

  • tag: A pointer to one commit, to be able to refer to it later.

  • remote: Roughly, another server that holds a git repository.git.

  • origin: Default name for a remote repository.

  • master: Default name for default main branch (in basic workflows, this is where all work goes).

  • hash: unique reference of any commit or state, such as 5a63bf9e. Used to refer to commits.

  • cloning: Copying the whole repository to your laptop - the first time.

  • forking: Taking a copy of a repository (which is typically not yours) - your copy (fork) stays on GitHub and you can make changes to your copy and eventually send them back.

  • pull request: Change proposal or merge proposal.

  • GitHub pages: A free hosting service for simple static webpages: link.

Accessing list of branches and commits

../_images/overview.png

For network view, click on “Settings”, then “Network”.

Other references

This is a no-command-line course, so there is not too much here. The git-intro reference and git-collaborative reference are from command line and have much more - though we don’t teach it here!