The Startup
Published in

The Startup

Git and Github: A Love Story or Something Like That.

Github Repo


  • Modified: File has been changed, but not saved to the directory.
  • Staged: File has been marked to be saved.
  • Commited: File has been saved.



$ git --version
  • git init — initializes a brand new repository.
  • git clone — copies a remote project to your local device.
  • git add — stages changes for a commit.
  • git commit — saves all changes to the remote repository.
  • git status — tracks status of changes as untracked, modified, or staged.
  • git branch — shows which branch is currently being worked on.
  • git merge — combines changes between two different branches.
  • git pull — updates local lines with lines from the remote copy.
  • git push — updates the remote with the staged commits.
  1. Create a branch.
  2. Add commits.
  3. Open a pull request.
  4. Discuss and review code.
  5. Merge.
  6. Deploy.





Get smarter at building your thing. Follow to join The Startup’s +8 million monthly readers & +768K followers.

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
Robert M Ricci

Full Stack Developer Ruby and Javascript. Recent grad of the Flatiron School.