How to make eclipse neon show git branch in package view?
<p>I just <a href="https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/" rel="noreferrer">adding an existing project to GitHub using the command line</a>.</p>

<p>Sometimes eclipse shows the branch in the package view like: <code>foo [foo master]</code>.</p>

<p>My eclipse project is a gradle/java project that was created before doing a: <code>git init</code> and does not show the branch in the package view.</p>

<p>Also, nothing is shown in the git repositories view.</p>

<p>How do I get eclipse to show me the branch in the package view?</p>