Switch Repository#add_remote and Repository#fetch_objects from Grit to JGit