Getting your Github off the Ground

What is Github and why do I have to use it?

The Basics

OK, I’ve got a Repo, what the heck do I do with it?

git add notebook1
git commit -m"commit message"


git checkout -b "name_of_your_branch"
git merge "branchname"
  1. The Github site has a nice GUI for dealing with merge conflicts if you mess something up
  2. I would rather have the changes uploaded but not merged to git, then merge them locally and not be able to upload them to Github for whatever reason.
  3. If you are working on something with multiple people and they merge their branch then push it to Github you may run into issues if you have poor communication.
  4. If people are sure to merge their changes on Github, as long as you do git pull frequently to grab whatever has been merged this issue will never happen. And if it does happen, you will still be able to interact with the main, just not merge your changes. Merging locally will create a roadblock where you need to fix the merge conflicts before you can do anything else.




Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium


Getting to Know Dockerfile Instructions: Part 1

Download In #!PDF Starting out with Visual C# Read

What Is OpenAPI?

Integrating Wix with Salesforce Marketing Cloud

The S Word

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Aidan Coco

Aidan Coco

More from Medium

How to learn to program for free

CS50 Week 1- The Complete Guide.

Week 1 of Learning to Code HTML/CSS

How to start your coding journey