title: Egit push doesn't change files in remote repository
body: <p>I came to know about the <strong>git / egit  version control system</strong> last week, seems too good to be true .So thought to shift from <strong>SVN</strong> to git..Since last week I am trying to understand the basics and concepts of <strong>git</strong>.</p>
  
  <p>So I created a test environment for understanding the workflow of <strong>egit</strong> in <strong>eclipse</strong> as following. </p>
  
  <p>I am following the strategy of remote tracking there are two repositories named local and remote used for understanding the workflow.</p>
  
  <ol>
  <li><p>I created a repository named 'remote' with an emtpy index.php file and has one master branch and imported the project into eclipse.</p></li>
  <li><p>I created another git repository named <code>'local'</code> by cloning the above <code>'remote' git repo</code>, this repository is now tracked by <code>'remote'</code> repository has one master branch and origin/master remote tracking branch.</p></li>
  <li><p>I imported the project from <code>'local' git repo</code>. into my eclipse workbench and changed the <code>index.php</code> file using eclipse php editor <strong>-></strong> committed changes to local's master branch and <strong>-></strong> performed push from local master branch.</p></li>
  <li><p>When checking the remote working directory .. there is no change updated which I did in local's <code>index.php</code> file , however master branch in the remote repository view shows the latest commit which I committed in the local's master branch, but unfortunately files are not updated, it just adds asterisk mark to all changed files in my remote project view.</p></li>
  </ol>
  
  <p>So researching about the asterisk mark I found its in staged condition .So can anyone lead me to the right way explaining how to successfully perform <strong>push operation</strong> from local's master branch to remote's branch I will be grateful.</p>
  
  <p>this is the picture of my <strong>egit test case</strong> set up in <strong>eclipse</strong> for understanding the workflow. you can see the <strong>asterisk mark</strong> in the remote project after performing push from local repository,you can see all three branches <strong>viz.local's master</strong>, <strong>origin/master</strong> and <strong>remote's master</strong> branches shows same latest commit.</p>
  
  <p><img src="https://i.stack.imgur.com/8Me6S.png" alt="http://s21.postimg.org/av2ktmjfr/egit_test.png"><a href="https://i.stack.imgur.com/8Me6S.png" rel="nofollow noreferrer">1</a></p>
  
  <p>Thank You.</p>