title: how to push to git from Terminal / Command Line
body: <p>I added a file into the folder for Git uploading. I can see the folder in the SourceTree under unstaged. How can I push the file to online storage with terminal commands?</p>
  
  <p>I figured it out I need to first cd to the local repository, which I did with this:</p>
  
  <pre><code>cd /Users/mainuser/Desktop/Projects
  git add -A .
  </code></pre>
  
  <p>checked status with <code>git status</code> and it outputs this:</p>
  
  <pre><code>On branch master
  Your branch is up-to-date with 'origin/master'.
  Changes to be committed:
    (use "git reset HEAD &lt;file&gt;..." to unstage)
  
      new file:   ios_projects/2016/Untitled copy 2.rtf // this is the file I want to upload
  </code></pre>
  
  <p>What now? How do I commit it and push it online?</p>