Basename on GitFile for get file extension