The .git directory is ignored by default. To see it in the project pane, do the following:
- Go to the settings (
Help | Find Action...Ctrl/Cmd+Shift+A and type “Settings”). - Navigate to
Editor | File Typesin the Settings dialog. - Remove
.gitfrom the table under theIgnored files and folderstab.