2 Minutes to Set Up Git, GitHub and GitHub Desktop on Mac

How to install Git with GitHub Desktop on macOS

In this article, I share short but clear instructions on how to get started with Git and GitHub behind the friendly user interface of GitHub Desktop, or via the command line.

For a background article on how git and GitHub work, check the article over here.

5 steps for setting up Git and GitHub

1. Create a GitHub account

Sign up for GitHub at github.com. It is very easy!

2 minutes to set up Git, GitHub and GitHub Desktop on Mac
Signing up for GitHub is very easy

2. Choose whether you want to use the graphical and user-friendly GitHub Desktop or the Command Line / Terminal

  • Command line / Terminal is great for developers who are already at ease with the command line, or for those who will need to learn Command Line anyway.
  • GitHub Desktop is great is you want to get started quickly and easily. You can shift to the command line later if you want. Avoid if you are regularly working in a command-line environment, like Linux servers etc.

3a Install the necessary tools [for GitHub Desktop approach]

On the following link, download and install GitHub Desktop: https://desktop.github.com/

2 minutes to set up Git, GitHub and GitHub Desktop on Mac
Download and install GitHub Desktop (macOS version)

Simply download and run it and it will explain what to do itself!

3b Install the necessary tools [for Command Line / Terminal approach]

Unlike on Windows, macOS has git preinstalled. So no steps needed for the command line approach.

4a Getting the program going [GitHub Desktop approach]

Open GitHub Desktop via the Spotight (or any way you like).

2 minutes to set up Git, GitHub and GitHub Desktop on Mac
Open GitHub Desktop

And login on GitHub Desktop using your GitHub user account information.

2 minutes to set up Git, GitHub and GitHub Desktop on Mac
Sign in to GitHub Desktop

You can now use the interface of GitHub Desktop to do your git operations.

4b Getting the program going [Command Line / Terminal approach]

Open a Terminal

2 minutes to set up Git, GitHub and GitHub Desktop on Mac

You can now use the git commands to do all git operations that you’d want.

2 minutes to set up Git, GitHub and GitHub Desktop on Mac

5. Starting to use GitHub Desktop and/ or Git command line

Your journey to GitHub can now begin! The best starting point is to clone an existing repository and play around with it.

Thanks for reading this article. Don’t hesitate to leave a clap and stay tuned for more!

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *