in filemanager/filemanager.go [118:125]
func (fm *FileManager) CheckoutFiles() *Error { fm.Lock() defer fm.Unlock() // Now we remove the changes in the working copy, // by calling `git checkout .` return fm.runGitFilesCheckout() }