project: make getting the .git/index file path more robust
- project: don't remove-then-add the same path to QFileSystemWatcher
- project: add a helper method to get the current GitWidget*
- project: make getting the .git/index file path more robust
- project: check if the git widget has been initialized