From my bad experience, Git repositories (and I would go as far as to say any source code) does not belong on SkyDrive/OneDrive. This is OneDrive, not the newfangled Hailstorm by architecture astronauts[0].
I would recommend that everyone keep working copy of their source code outside of any form of syncing. If you must, create tape archives (or 7z or something) and sync them but never your working copy.