Added git_stamp function

A function to get the lastest commit and branch to include in function for reproducibility regarding code. Git repo needed to run.