Catalog/Programación/Git and GitHub — version control
Programación 1 free lessons

Git and GitHub — version control

Commits, branches, pull requests, and team collaboration.

Rated 3.7 to 4.8 out of 5 · survey of 600 students
M

Created by

Guías Team

Detailed view of Ruby on Rails code highlighting software development intricacies.

Free

with a Guías account

10 lessons

9 Pro

Start for free
Full access
AI included
Certificate

What you'll learn

What version control is and why it's essential
The basic Git flow: add, commit, push
Working with branches without fear
Resolving merge conflicts
Collaborating as a team with GitHub and Pull Requests

Everything this course includes

AI mentor in every lesson

Ask about anything you don't understand and get explanations adapted to your level, without waiting for anyone.

10 quizzes with feedback

Check that you've really learned it before moving on to the next lesson.

10 hands-on practices

Exercises and labs to bring each concept to your own case.

Verifiable certificate

When you finish you get a certificate with a public link to show on LinkedIn or to clients.

Course content · 10 lessons

1

Your first commit — Git from scratch

Git saves 'snapshots' (commits) of your code's complete history. · Git is local; GitHub is a cloud service that hosts Git repositories. · The basic flow is: git add → git commit → git push.

13 minFree
2

Installing and configuring Git

git config --global user.name "Tu Nombre" y user.email configuran tu identidad en cada commit. · git --version confirma que la instalación fue exitosa. · Configura esto UNA sola vez por computadora — Git lo recuerda para todos tus proyectos futuros.

7 min
3

The basic workflow — add, commit, status

git status es el comando que más vas a usar — te dice exactamente qué archivos cambiaron y en qué estado están. · Un buen mensaje de commit describe QUÉ cambió y, si hace falta, POR QUÉ — no 'cambios' o 'fix'. · Puedes hacer commits pequeños y frecuentes — es mejor práctica que un commit gigante al final del día.

9 min
4

History and git log

git log muestra el historial completo de commits, del más reciente al más antiguo. · git log --oneline da una versión compacta, una línea por commit — más fácil de leer de un vistazo. · Cada commit tiene un identificador único (hash) que puedes usar para volver a ese punto exacto.

7 minPro
5

Branches — creating and switching branches

Una rama (branch) es una línea de desarrollo independiente — puedes experimentar sin afectar el código principal. · git branch nombre-rama crea una rama nueva; git checkout nombre-rama (o git switch) cambia a ella. · La rama principal se suele llamar 'main' — es la versión 'oficial' y estable del proyecto.

11 minPro
6

Merge — combining changes

git merge nombre-rama trae los cambios de esa rama hacia la rama en la que estás parado actualmente. · El flujo típico: terminas trabajo en una rama, vuelves a main, y haces merge de esa rama hacia main. · Un merge exitoso combina el historial de ambas ramas automáticamente cuando no hay conflictos.

10 minPro
7

Resolving merge conflicts

Un conflicto ocurre cuando dos ramas modificaron la MISMA línea de un archivo de forma distinta. · Git marca el conflicto directamente en el archivo con <<<<<<< , ======= y >>>>>>> — debes editarlo manualmente para decidir qué versión (o combinación) se queda. · Después de resolver, haces git add en el archivo resuelto y un commit normal para cerrar el merge.

12 minPro
8

GitHub — creating your first remote repository

Un repositorio remoto vive en un servidor (GitHub, GitLab, Bitbucket) — es tu copia de respaldo en la nube y el punto de colaboración con otros. · Puedes crear un repositorio vacío en GitHub y conectarlo a tu proyecto local, o clonar uno existente. · Un README.md bien escrito en tu repositorio es la primera impresión que da tu proyecto a reclutadores y colaboradores.

9 minPro
9

Push, pull and clone

git remote add origin URL conecta tu repositorio local con uno remoto en GitHub. · git push -u origin main sube tus commits locales al remoto por primera vez. · git pull trae cambios nuevos del remoto hacia tu copia local — esencial cuando trabajas en equipo.

10 minPro
10

Pull requests and team collaboration

Un Pull Request (PR) propone fusionar los cambios de una rama hacia otra, permitiendo que otros revisen el código antes de aceptarlo. · El flujo profesional estándar: crear rama → hacer cambios → push → abrir PR → recibir revisión → merge. · Los PRs son también donde se discuten cambios, se dejan comentarios línea por línea y se corre CI/testing automático antes de aceptar el código.

11 minPro

Free vs. Pro

FreePro
Lessons1 lessonsAll 10 lessons
AI mentorLimitedUp to 100 a day
Certificate—

Frequently asked questions

Do I need prior knowledge?+

No. The course is designed to start from zero and moves step by step. If something isn't clear, the AI mentor explains it another way.

How much time do I need?+

The course takes about 1h 39min in total. You can go at your own pace and pick up where you left off, with no deadline.

What do I get when I finish?+

A verifiable certificate with a public link, plus a method you can apply from day one.

How does the Pro plan work?+

The first lessons are free so you can check the quality. Pro unlocks all lessons, plus the AI mentor and certificates, and is managed from your profile.

Start today, for free

Go into the first free lesson and see for yourself whether the course is for you.

Course details

Lessons10 lessons
Duration1h 39min
LevelBeginner
LanguageEspañol
AccessUnlimited
CertificateOn completion

Unlock everything with Pro

Access all lessons, up to 100 Guía interactions per day, and certificates for $9.99/mo.

View plans →
View all courses in Programación

Log in to leave a review