I've been having a problem on startup with GitHub Desktop forgetting where my repositories are and signing me out.
:: Delete unneeded files
for %%a in (log _mp tmp gid chk old) do (
del /f /s /q !SystemDrive!\\\*.%%a
I've taken out the 'log' part of the for loop as this seems to be what it's called in /appdata/roaming/Github Desktop/
Something to watch out for