diff --git a/pyup/providers/github.py b/pyup/providers/github.py
index <HASH>..<HASH> 100644
--- a/pyup/providers/github.py
+++ b/pyup/providers/github.py
@@ -3,10 +3,6 @@ from __future__ import absolute_import, print_function
 import time
 import logging
 from github import Github, GithubException, UnknownObjectException, InputGitAuthor
-try:
-    from urllib import quote  # Python 2.X
-except ImportError:
-    from urllib.parse import quote  # Python 3+
 from ..errors import BranchExistsError, NoPermissionError, RepoDoesNotExistError
 
 logger = logging.getLogger(__name__)
@@ -76,7 +72,7 @@ class Provider(object):
     def get_file(self, repo, path, branch):
         logger.info("Getting file at {} for branch {}".format(path, branch))
         try:
-            contentfile = repo.get_contents(quote(path), ref=branch)
+            contentfile = repo.get_contents(path, ref=branch)
             return contentfile.decoded_content.decode("utf-8"), contentfile
         except GithubException:
             logger.warning("Unable to get {path} on {repo}".format(
@@ -163,7 +159,7 @@ class Provider(object):
         for i in range(1, 7):
             try:
                 data = repo.update_file(
-                    path=quote(path),
+                    path=path,
                     message=commit_message,
                     content=content,
                     branch=branch,
Don't quote URLs in Github provider