The Visual Workflow (GitHub Desktop)
While Git is often associated with the command line, graphical interfaces like GitHub Desktop (or the Git interface in your code editor of choice) make the workflow more intuitive.
Installing GitHub Desktop
To download GitHub Desktop you can visit the the official website and download and execute the installer.
Cloning: Getting the repository
The first step is getting the repository from the internet: we call this Cloning. After logging into GitHub on the program, select “Clone a repository from the internet...”, select the correct repository and finally “Initialize Git LFS”.
Daily Workflow
To start working, there are three main steps you need to remember:
-
Staging: As you edit files, the GUI will show which files have changed. You simply check the boxes next to the files you want to group together for your next commit.
-
Committing: Once your files are selected, you write a short summary of what you did and click Commit to main. This saves the snapshot permanently to your local history. When writing the commit message, please remember to abide by the Commit Standards.
-
Pushing: Finally, clicking Push origin sends your local commits up to GitHub, syncing your work with the rest of the team.