9. Initialize Git to Track Changes

  • Cloud9 comes preinstalled with software called Git.
  • Git helps us track changes and save code snapshots as we build our app.
  • We'll configure Git on our Cloud9 virtual computer.


git config --global user.name "First Last"
git config --global user.email [email protected]

From here you need to make sure you are in your Rails app directory (if you weren't already in that director for the previous commands, that is okay). To make sure, you're in the right directory, follow along:


cd workspace
cd saasapp
c9 README.md


[Upskill](http://upskillcourses.com) Software-as-a-Service Ruby on Rails App


(Make sure you are in your application directory. Use the cd commands.)
git init
git add .
git status
git commit -m "Initial commit"

Complete and Continue