In case if AS keep asking you login even if you already added account to version control setting (Settings => Version control => GitHub). Try next: