
Check the location of the global .gitconfig file
Source:R/diagnostic_test.R
check_gitconfig_location.RdReports the location Git is using for its global config file. R, RStudio,
and the system Git can disagree on this location (e.g. when HOME is
redirected into OneDrive). The function flags non-standard locations and
prints the resolved path so users can sanity-check it against the file they
think they are editing.