how can know if local master behind remote master in repo out pulling or fetching.
i mean before pulling or fetching, determine if local master behind repo master can perform fetch / rebase / merge if behind
no way know of. if fetch, don't have rebase , "git status" tell if you're ahead or behind (or both). you'd have kind of "remote query" information want - , fetch query.