Remove PAGER var from bashrc - it spoiled git hist displaying. Add setting execution dir for checking if there are things to be commited.