title: How to accept pull requests (PR) from Github using command line git
body: <h2>Problem</h2>
  <p>I received a pull request and I want to approve it via the command line (i.e., without logging into Github with my browser and using the GUI). This PR makes changes to a branch.</p>
  <p>This is what I tried:</p>
  <pre><code># First I go to the correct branch:
  git checkout branch-to-be-modified
  
  # Then I pull the changes made by the person who's contributing with the PR:
  git pull https://github.com/my-contributor/code.git his-branch
  
  # I then run `git status`, but it shows me nothing
  git status
      # Outputs:
      # &gt; On branch branch-to-be-modified
      # &gt; nothing to commit, working tree clean 
  
  </code></pre>
  <h2>Question</h2>
  <p><em>How do I accept the Github pull request through the command line?</em></p>
  <p>What else do I need to do, should I just <code>git push origin branch-to-be-modified</code>?</p>
  <p>This should be easy, but I can't find this information. Thank you so much for any leads</p>