integrated last command return status and simpler git info