view all the branch in locak using git code example Example: get all the branch in git git fetch --all