Git refresh status



Is there any method to call to reload the git status?
At the moment I have to change tab and come back to see the change. I use the Git API checkoutReference() to switch the branch.

Thank you for your help.

git = atom.project.getRepo()

For future reference:


It’s perfect! Thank you!