renaming
copied part of intellij github component, just enough for getGist() to work