git remote -vAdicione um remote quando necessário:
git remote add origin https://github.com/usuario/repositorio.gitgit fetch origingit fetch baixa referências remotas sem integrar automaticamente as alterações na branch atual.
Para buscar e integrar alterações:
git pullgit push -u origin feat/minha-featureO -u associa a branch local à branch remota correspondente.
Um Pull Request (PR) propõe a integração de uma branch em outra. Em um fluxo comum:
feat/minha-feature
↓ push
GitHub
↓ Pull Request
review / ajustes
↓ merge
main
Um bom PR deve explicar:
- o que mudou;
- por que a mudança foi necessária;
- como validar;
- riscos ou pontos de atenção, quando existirem.
Pull Requests tornam a colaboração mais segura porque permitem revisão antes da integração.