title: No changes seen after pushing to Git. Git Internal Server Error
body: <blockquote>
  <p><strong>Moderator Note</strong>: This error happens when GitHub has an outage or service degradation. We're leaving it up as a canonical post for others to see and close against as duplicates, but <a href="https://meta.stackoverflow.com/a/326329">questions about service outages are off-topic</a>.</p>
  </blockquote>
  <p>There are similar questions but I could not find any answer that would solve the issue.</p>
  <pre><code>git status
  
  On branch master
  Your branch is ahead of 'origin/master' by 1 commit.
    (use &quot;git push&quot; to publish your local commits)
  
  nothing to commit, working tree clean
  </code></pre>
  <p>I retract the local changes to the original state of last commit:</p>
  <pre><code>git reset --hard origin/master
  </code></pre>
  <p>Make sure it is up to date:</p>
  <pre><code>git status
  On branch master
  Your branch is up to date with 'origin/master'.
  
  nothing to commit, working tree clean
  </code></pre>
  <p>Then make a small modification in the file.</p>
  <pre><code>git status
  
  On branch master
  Your branch is up to date with 'origin/master'.
  
  Changes not staged for commit:
    (use &quot;git add &lt;file&gt;...&quot; to update what will be committed)
    (use &quot;git restore &lt;file&gt;...&quot; to discard changes in working directory)
          modified:   test.py
  
  no changes added to commit (use &quot;git add&quot; and/or &quot;git commit -a&quot;)
  </code></pre>
  <p>And so as always I do:</p>
  <pre><code>git add test.py
  git commit -m &quot;updating test.py&quot;
  git push -u origin master
  </code></pre>
  <p>which gives:</p>
  <pre><code>Enumerating objects: 5, done.
  Counting objects: 100% (5/5), done.
  Delta compression using up to 8 threads
  Compressing objects: 100% (3/3), done.
  Writing objects: 100% (3/3), 281 bytes | 281.00 KiB/s, done.
  Total 3 (delta 2), reused 0 (delta 0), pack-reused 0
  remote: Resolving deltas: 100% (2/2), completed with 2 local objects.
  remote: Internal Server Error
  Everything up-to-date
  </code></pre>
  <p>However, the changes are not seen on the github page. Now, <code>git status</code> gives:</p>
  <pre><code>On branch master
  Your branch is ahead of 'origin/master' by 1 commit.
    (use &quot;git push&quot; to publish your local commits)
  
  nothing to commit, working tree clean
  </code></pre>
  <p>Could anyone please help?</p>