I'm new to Git and was wondering if it would be sensible to store the Git local filestore/workspace in a Windows 10 OneDrive sync'ed folder.
I know it is maybe redundant (remote repository is a major point here) But, if for example, my hard disk fails and I haven't pushed a recent commit, work could be lost.
Will it be dangerous to do this? E.g. would OneDrive get confused and sync an out of date Git file that handles what commits I've made and cause everything to go kaput? Or if there are any other technical reasons?