Moving load method into GitObject class