Guía rápida de Git en Ubuntu

Guía rápida para instalar Git en Ubuntu: requisitos, instalación con apt, verificación, configuración de usuario y claves SSH, y comandos básicos para empezar a trabajar con Git.

15 sept 2025 • 3 min read • Q2BSTUDIO Team

Inteligencia-Artificial-

¿Te has sentido atascado al instalar Git en Ubuntu? No estás solo. Instalar Git es como colocar la piedra angular antes de construir tu casa ideal: una vez ahí, todo lo demás encaja. En esta guía rápida te explico cómo instalar Git en Ubuntu paso a paso, sin jerga innecesaria y listo para usar.

Por qué necesitas Git: Git no es solo un control de versiones, es la columna vertebral de la colaboración moderna. Permite rastrear cambios, volver a estados anteriores y trabajar en varias funcionalidades al mismo tiempo sin miedo a perder trabajo. Piensa en Git como una máquina del tiempo para tu código.

Requisitos previos: Ubuntu 18.04 o superior, acceso a terminal con un usuario con privilegios sudo e Internet. Si puedes abrir una terminal, estás listo.

Actualizar la lista de paquetes: sudo apt update

Instalar Git mediante APT: sudo apt install git -y El indicador -y confirma la instalación automáticamente.

Verificar la instalación: git --version Deberías ver algo como git version seguido del número de versión.

Configurar información de usuario: Git necesita saber quién eres para etiquetar los commits. Ejecuta: git config --global user.name Your\ Name y git config --global user.email you@example.com Si tu nombre tiene espacios usa la barra invertida para escapar los espacios o reemplázalo por tu nombre sin espacios.

Generar claves SSH para conectar con repositorios remotos: ssh-keygen -t ed25519 -C you@example.com Pulsa Enter para aceptar los valores por defecto. Si te pide una passphrase puedes elegir una o dejarla vacía para no usar passphrase.

Agregar la clave SSH a servicios como GitHub o GitLab: muestra tu clave pública con cat ~/.ssh/id_ed25519.pub y cópiala. En GitHub ve a Settings > SSH and GPG keys > New SSH key. En GitLab ve a User Settings > SSH Keys > Add new. Pega la clave y guarda. Ahora podrás hacer push y pull de forma segura.

Comandos básicos de Git para empezar: git clone para descargar un repositorio, git status para ver cambios, git add . para preparar cambios, git commit -m Mensaje para confirmar cambios, git push para subir al remoto y git pull para traer actualizaciones.

Si quieres llevar tus proyectos al siguiente nivel con software a medida y soluciones integradas, en Q2BSTUDIO somos especialistas en desarrollo de software y aplicaciones a medida. Ofrecemos servicios que van desde aplicaciones multiplataforma hasta integración con servicios cloud y soluciones de inteligencia artificial. Si buscas desarrollar una aplicación a medida consulta nuestra página de desarrollo de aplicaciones y software multiplataforma para ver cómo podemos ayudarte.

Además, en Q2BSTUDIO trabajamos con inteligencia artificial para empresas, agentes IA y soluciones de IA personalizadas que pueden integrarse en tus flujos de trabajo. Conoce nuestras capacidades en inteligencia artificial para empresas y cómo aplicarla en proyectos reales.

También ofrecemos servicios relacionados con ciberseguridad, pentesting, servicios cloud aws y azure, servicios inteligencia de negocio y Power BI, automatización de procesos y mucho más. Palabras clave que trabajamos en nuestros proyectos incluyen aplicaciones a medida, software a medida, inteligencia artificial, ciberseguridad, servicios cloud aws y azure, servicios inteligencia de negocio, ia para empresas, agentes IA y power bi para mejorar el rendimiento y la toma de decisiones.

¿Necesitas ayuda para integrar Git en tu flujo de trabajo o desarrollar un proyecto profesional con control de versiones, despliegue en la nube y soluciones IA a medida? Ponte en contacto con Q2BSTUDIO y hablemos de tu proyecto.

A BREAK?

Play for a moment before you go

OUR SERVICES

How we can help you

Artificial intelligence

AI agents, chatbots, and intelligent assistants that automate tasks and serve your customers 24/7 to improve the efficiency of your business.

More info

Software Development

Web, mobile, and desktop applications, intranets, e-commerce, SaaS, and management platforms designed for your company's specific needs.

More info

Cloud services

Migration, infrastructure, managed hosting, high availability, and security on Microsoft Azure and Amazon Web Services to help your business scale without limits.

More info

Cybersecurity and pentesting

Security audits, penetration testing and protection of applications, data and infrastructure on-premise and cloud, with ethical hacking and regulatory compliance.

More info

Business Intelligence

Dashboards and data analysis with Power BI: we integrate your sources, design dashboards and KPIs and turn your data into decisions.

More info

Process automation

We automate repetitive tasks and connect your applications with n8n, Power Automate, Make, and RPA, eliminating manual work and increasing productivity.

More info

Training for Companies

We train your teams in technology with criteria: web development, databases, Git, best practices and security, automation with n8n, artificial intelligence for companies and creation of AI solutions with Azure AI Foundry.

More info

Code Auditing

We audit the code that you, your team or an AI create: we tell you what is good and what to improve, we secure it and make it ready for production, web or app.

More info

AI Image Generation

We create for you the images that your business needs with artificial intelligence: product, networks, advertising, illustration and avatars. You tell us what you want and we deliver it ready to use.

More info

AI Video Generation

We create videos with artificial intelligence for you: promotional, networking, virtual presenters, dubbing and animations. You tell us the idea and we will deliver it assembled and ready to publish.

More info

AI Conversational Avatars

We create conversational avatars with AI – digital humans with a face and voice – that serve your customers and teams with the knowledge of your company, on your website, interactive monitors, WhatsApp or Teams.

More info

Online Marketing and AI

Google Ads, Meta Ads, LinkedIn Ads and AI Engine Positioning (GEO/AEO): we attract customers and make your brand appear where they search for you, also on ChatGPT, Gemini and Perplexity.

More info

Do you have a project in mind?

Tell us your vision and we'll turn it into a software solution. Whatever the scope, we make your idea real.

Live Chat