By default, the .git directory is ignored. Go to File | Settings | Editor | File Types
File | Settings | Editor | File Types
File | Settings | Editor | File Types
and remove .git;
from the Ignore files and folders
text box under the .gitignore (Git)
file type to see it in the project panel.
source share