Skip to content

Git

Git Basics

What is Git?

Why use Git?

YouTube Tutorial Series

Installation

Download here. Installation Considerations:

  • Use default installations settings, except for selecting your preferred default text editor (e.g., Notepad++)
  • After installation, run the provided script GitConfigHelper.bat to accomplish the following:
  • Change the default branch name to 'main' (as opposed to 'master')
  • Allow a secure connection
  • Set the credential manager to the Windows credential manager core

Hosting Services

A hosting service enables you to manage a Git repository.

There are many choices for hosting services\, but the two that we use at B&R are Bitbucket and GitHub.

Alternatives include Microsoft Azure Repos, GitLab, Amazon AWS CodeCommit, and so on.

Create a Repo

Create a repository in Bitbucket

Create a repository in GitHub

Git Client

A Git client allows you to interact with the Git repository via a visual interface, without the command line.

Just as with the hosting service, there are many options for Git clients. At B&R, we use Sourcetree.

Alternate options include Tortoise Git, Git Extensions, GitHub Desktop, and so on.