git matching and switch tabs