Use instead function, for retraining.
Exit = ^D
Use g instead of git.