add log when switching git branches