Problem:
If you have upgraded your IntelliJ IDEA to IntelliJ IDEA 2023.1.1 (Community Edition), then most probably the Git menu will not be shown up.
Solution:
a) Your project is running in safe mode, you need to trust this project
b) Try the new UI of IntelliJ like the following