Brief Notes
Noteworthy links, summaries and concise prose on stuff.

Git resource

Cheatsheet for using Git with github

Note: The Elixir repository (elixir-lang/elixir) is used in the following examples.

Clone the master branch of an entire repository using the repository’s GitHub url:

  • Enter the command git clone https://github.com/elixir-lang/elixir
  • A folder (elixir in this example) in the current directory will be automatically created to contain the repository.

Check the available branches in a repository:

  • Navigate to the repository’s folder on your machine, example, cd elixir
  • Enter the command git branches