Invalid Vcs root mapping
I created a new project from existing files on Ubuntu 12.04
The project structure:
There are two messages:
1. Invalid Vcs root mapping
The directory <Project> is registered as a Git root, but no Git repositories were found there.

To push the entire project to bitbucket worked for me:
ip@ubuntu:~/Documents/drupal72$ git push origin master
error: unable to create directory for .git/refs/remotes/origin/master
error: Cannot lock the ref 'refs/remotes/origin/master'.
But there is no way to save the local project:
2. Could not save project!: Unable to save project files. Please ensure project files are writable and you have permissions to modify them. Try to save project again.
Additonal I can't clear the Read-Only Status.
It is impossible to choose 'Using version control integration.
Do you know a good configuration how to?
Regards,
bolshii
Please sign in to leave a comment.
First of all try File | invalidate caches and restart.
If issue remains, please try to map the git checkout root (the directory with .git) to Git in Settings | Version Control explicitly.
If it still doesn't work, attach idea.log: http://intellij-support.jetbrains.com/entries/23352446 and your .git/config.