title: How to check if a file is in Git repository when visiting from emacs?
body: <p>I would be most happy with some kind of emacs hook that would be activated when a file that is under git repository is visited. But other solutions are welcome as well.</p>