I'm not sure if it's the best, but the files I ignore in GitHub are:
- the
.import
folder
export.cfg
export_presets.cfg
- the
.mono
folder
- the
.vs
folder (if using visual studio code)
And then some projects have other folders ignored depending on what they use, like addons and the like.