diff --git a/Gemfile b/Gemfile
index 752bb15cf7389156548061f178097cbafebfaf16..a47dd6a0b2b8812d993de7ce3c2f124398b76242 100644
--- a/Gemfile
+++ b/Gemfile
@@ -29,7 +29,7 @@ gem 'omniauth-github'
 
 # Extracting information from a git repository
 # Provide access to Gitlab::Git library
-gem "gitlab_git", git: 'https://gitlab.com/gitlab-org/gitlab_git.git', ref: '53f5faf'
+gem "gitlab_git", git: 'https://gitlab.com/gitlab-org/gitlab_git.git', ref: '39bc4f043414f1e49f802ed633fa20e6400bfa49'
 
 # Ruby/Rack Git Smart-HTTP Server Handler
 gem 'gitlab-grack', '~> 2.0.0.pre', require: 'grack'
diff --git a/Gemfile.lock b/Gemfile.lock
index e1fb498ceaa065bd23bbc35a7b2a12ce28243d27..6c876fa1236e7753857e7fde6a922a847c612a71 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -7,8 +7,8 @@ GIT
 
 GIT
   remote: https://gitlab.com/gitlab-org/gitlab_git.git
-  revision: 53f5faf462f2773619179222a70247f051ee13df
-  ref: 53f5faf
+  revision: 39bc4f043414f1e49f802ed633fa20e6400bfa49
+  ref: 39bc4f043414f1e49f802ed633fa20e6400bfa49
   specs:
     gitlab_git (5.1.0.pre)
       activesupport (~> 4.0.0)