diff --git a/lib/gem/release/context/git.rb b/lib/gem/release/context/git.rb
index <HASH>..<HASH> 100644
--- a/lib/gem/release/context/git.rb
+++ b/lib/gem/release/context/git.rb
@@ -26,7 +26,7 @@ module Gem
 
         def user_login
           str = `git config --get github.user`.strip
-          str.empty? ? git_user_name : str
+          str.empty? ? user_name : str
         end
       end
     end
call user_name method instead of git_user_name method which appears to be the gem creator's intent.