A template for Unreal Engine projects that you can use which includes the gitignore (Intermediate, Saved, Binaries) and gitattributes for git LFS (.uasset, .png, .wav) Feel free to fork and make changes or file a PR.
It is a file for macos projects so it wouldn't be constantly backed up to icloud incase you decide to put your unreal project on desktop or any other backed up place.