function to set correct github user config