Merged Steve Murawski's Github Credential Functions