I am trying to create a git repository located within a OneDrive synced folder, but I am running into an issue.
I use OneDrive to sync folders between my multiple device
As of 6/27/2017, Version 2016 (Build 17.3.6917.0607)
OneDrive for business will support synching dotfiles (and dotdirectories) However, OneDrive is a VERY bad solution unless you add commit hooks to exclude files: https://support.microsoft.com/en-us/help/3125202/restrictions-and-limitations-when-you-sync-files-and-folders
Also, I dont know about how things would behave under race conditions. If there is more than one committer (inc automated stuff), it might not be safe.