đź’»
How to Use Project Development Tools in a Remote C
  • How to Use Project Development Tools in a Remote Coding Team
  • Trello
    • Introduction to Trello
    • How to use Trello
      • What is Trello?
      • Starting up a Trello Board
      • Lists
      • Cards
  • Visual Studio Code
    • Introduction to Live Share in Visual Studio Code
    • How to use Live Share
      • How to Install
      • How to Use
      • Examples of Use Cases
  • Git & Github - Basics
    • Introduction to Git & GitHub
    • How To Use Git
      • Setting up Git
      • Creating GitHub Repositories
      • Managing Repository Access
      • Syncing with a Local Workspace
  • How to Manage a Codebase with Git
    • Introduction to Branching
    • How To Use Branches
      • What are Branches?
      • Working in Branches
      • Merging Branches
      • Best Practices For Branching
    • Git Codebase Management Cheat Sheet
  • Conclusion
  • Team Biography
  • References
Powered by GitBook
On this page

Was this helpful?

Export as PDF
  1. Git & Github - Basics
  2. How To Use Git

Setting up Git

PreviousHow To Use GitNextCreating GitHub Repositories

Last updated 4 years ago

Was this helpful?

If you don’t already have a GitHub account, go to and sign up (this is completely free unless you want to use a paid version of GitHub). Once you have a GitHub account, open a command shell and enter:

$ git --version

If you already have Git installed then a version number should appear. If your computer doesn’t recognize this command then consult guide on installing Git for your machine.

Once Git is installed, you can alter its settings by changing configuration variables with the “git config” command (see article). If this is your first time using Git on the command line, you will need to set the “user.name” and “user.email” configuration variables to your GitHub username and email so that Git command line is linked to your account. You can do this by entering the following commands:

$ git config --global user.name = "your username"
$ git config --global user.email = [your github email account]

The global flag makes these the default values for anything you do on the machine (see article). These are the only configuration variables that you are required to alter to use Git. For more information on configuring Git see Git documentation.

https://github.com/
this
this
this
this