Fixing ls on mac and adding git functions