Add branch history command