ObsidianMD - Syncing over git github:how to set up. gitignore file

Hey, so I use git to sync my vaults over github and I often find problems with the file .obsidian/workspace which most often causes merge conflicts. should I just add it to gitignore? Also, any other file recomended to ignore on git? source: r/ObsidianMD - Syncing over git|github: how to set up. gitignore file