Adding helpers to fetch commits and files