Added ref_name parameter to repo commits calls