public boolean isRemoteBranchFile(String filePath){
  return filePath.startsWith(myRefsRemotesDirPath);
}

public boolean isRemoteBranchFile ( String filePath ) { return filePath . startsWith ( myRefsRemotesDirPath ) ; }
any file in . git / refs / remotes , i . e . a remote branch reference file .
