title: git branch and merging
body: <p>I am tryin gto understand branches in git.I have worked with SVN so trying to get the directory structures</p>
  
  <p>i create a  git main repo with </p>
  
  <pre><code>mkdir git_repo
  cd git_repo
  git init --bare
  cd ../
  git clone git_repo new_clone
  cd new_clone
  touch test.txt
  git add test.txt
  git commit test.txt
  git push origin master
  //So now the contents are in git_repo
  git branch new_branch
  git branch 
  /*master
  *new_branch is the output */
  git checkout new_branch
  //Switched to branch 'new'
  </code></pre>
  
  <p>My question is that</p>
  
  <p>1.How to switch back to new_clone</p>
  
  <p>2.how to push files to new_repo from the branch</p>
  
  <p>3.How can i see the diff in files beteen the new_branch and new_clone</p>
  
  <p>4.How can i push the files to git_repo</p>
  
  <p>5.When i do use merge in this case</p>
  
  <p>6.How to list the files in new_branch and new_clone separately</p>
  
  <p>Can any one please explain these with the examples.</p>
  
  <p>Thanks..</p>