"Git pull" on server after every "git push" from local machine
<p>My usage of git is very simple.
Basically I do smth like this on my local machine:</p>

<pre><code>echo 'Update' &gt;&gt; README.md
git add . &amp;&amp; git commit -m 'update' &amp;&amp; git push -u origin master
</code></pre>

<p>Then on server:</p>

<pre><code>git pull
</code></pre>

<p>That's it.</p>

<p>And I am doing it every time I make changes on my local machine.
Seems to me I can optimize this somehow, but I haven't found any git command to deal with this.</p>

<p>Is there a way not to print <code>git pull</code> every time there is a change?
And maybe there is a way to automatically <code>add &amp;&amp; commit &amp;&amp; push</code>?</p>