Git & GitHub for Hackathons

Key Concepts!

  • Version Control System

  • Git

  • GitHub

Installing Git

https://bit.ly/Git-Install

Hands On!

Step 1: Create & Initialise a local Git Repository

mkdir  hello-world

cd  hello-world

git init

Step 2: Let's add a file!

Step 3: Staging the file

Step 4: Commiting the file

Step 5: creating a repository on GitHub

You

Step 6: Creating a Branch

Step 7: Pushing Code

Step 8: Creating a Pull Request

Step 9: Merging a Pull Request

Sync with your local repository and CELEBRATE!!!!

Resources!

Git & GitHub 101

By Super Diana

Git & GitHub 101

  • 785