title: git - updating working files on the remote server
body: <p>I have a remote development server and every time when I do a code change on my local machine I need to make sure the code I've changed works properly on the dev (remote server).Below is the setup I have so far:</p>
  
  <ol>
  <li><p>On the <code>remote server</code> I have:</p>
  
  <p>A git repository created on a folder called <code>dev</code> with a bunch of files (I used <code>git init</code>  and than <code>git add .</code> - to add all those files to the repository).</p>
  
  <p>Then from that repository I created a branch called <code>master-copy</code>.</p></li>
  <li><p>On my <code>local machine</code> I created a clone from the remote server's <code>master-copy</code> branch. Now every time when I make changes on my clonen copy I do a push to the <code>master-copy</code> branch on the remote server. </p></li>
  </ol>
  
  <p>Is there a way to update the files located on <code>dev</code> folder (on the remote server) when I do I push from my <code>local machine</code> cloned copy to the <code>master-copy</code> branch (on the remote server)?</p>