Improve to check that here is Git repository
Update and improve tests
Add explanation to use with linum-mode
fix newline