To keep your Git repository focused on your project files and not the Unreal Engine code, it is recommended to create your Unreal Engine project in a location outside of the Unreal Engine installation folder. For example, you can create your project in your Documents folder. Once you have created your project, initialize a Git repository from that folder to track your project files and not the engine code