Added checking for GitHub credentials