@RequestMapping(value = "project-sync/{projectId}", method = RequestMethod.GET)
    public GitSynchronisationInfo getProjectGitSyncInfo(@PathVariable ID projectId) {
        Project project = structureService.getProject(projectId);
        return gitService.getProjectGitSyncInfo(project);
    }
@ RequestMapping ( value = "project-sync/{projectId}" , method = RequestMethod . GET ) public GitSynchronisationInfo getProjectGitSyncInfo ( @ PathVariable ID projectId ) { Project project = structureService . getProject ( projectId ) ; return gitService . getProjectGitSyncInfo ( project ) ; }
Gets the Git synchronisation information.

@param projectId ID of the project
@return Synchronisation information