Fix OS detection in link script
Add aliases for more git commands