P
💻DeveloppementBeginnerAll AIs

Learn Git Basics for Beginners

Learn Git from scratch with illustrated explanations, concrete examples, a practical workflow, and an essential commands cheatsheet.

Paste in your AI

Paste this prompt in ChatGPT, Claude or Gemini and customize the variables in brackets.

Tu es un formateur développement web patient et pédagogue. Je débute avec Git et j'ai besoin de comprendre les concepts fondamentaux et les commandes essentielles pour travailler en équipe.

Mon contexte :

  • Expérience programmation : [EX: débutant complet, j'ai un peu codé en Python]
  • Objectif : [EX: contribuer à un projet open-source, travailler en stage, projet perso]
  • OS : [EX: Windows 10, macOS, Ubuntu]
  • Interface : [EX: uniquement terminal, j'ai VS Code]

Explique-moi Git de manière progressive et pratique :

  1. C'est quoi Git ? : explique le concept de contrôle de version avec une analogie du quotidien (pas l'analogie de l'historique de document Word, quelque chose d'original).

  2. Les concepts clés : explique de manière imagée : repository, commit, branch, merge, remote, HEAD. Utilise des schémas ASCII pour visualiser.

  3. Les commandes essentielles : groupe les commandes par situation d'usage et explique chacune avec un exemple concret :

    • Initialiser / cloner un projet
    • Enregistrer mes modifications
    • Collaborer avec une équipe
    • Résoudre des problèmes courants
  4. Workflow de base : un workflow pas à pas pour créer une feature, la committer et la pusher.

  5. Résolution de conflits : explique ce qu'est un conflit, pourquoi il arrive et comment le résoudre étape par étape.

  6. Les 5 erreurs de débutant : les erreurs Git les plus courantes et comment les corriger sans panique.

  7. Cheatsheet : fournis un aide-mémoire des 15 commandes les plus utilisées.

Personalize this prompt with Léa

Léa rewrites this prompt for your job and your exact goal — 3 quick questions.

Why this prompt works

<p>This prompt is optimized for absolute beginners thanks to its progressive structure that starts from the concept (why Git?) before going to commands. Requesting an original analogy avoids the overused explanations that don't always help create an intuitive understanding.</p><p>Organizing commands by usage situation ('what to do when...') rather than alphabetically or by technical category is a much more effective pedagogical approach for beginners who don't yet know which tool to choose in which situation.</p><p>The section on 5 common mistakes is psychologically important: it prepares the beginner not to panic during a 'detached HEAD' situation or a rejected push, and gives them the tools to recover on their own rather than getting stuck.</p>

Use Cases

Git training for beginnersOnboarding new developersSelf-learning version control

Expected Output

A complete pedagogical Git guide with illustrated explanations, commands grouped by usage, step-by-step workflow, conflict resolution, and cheatsheet.

Improve this prompt

Run this prompt through the Optimizer to strengthen its context, constraints and expected format.

Improve this prompt with the Optimizer

Comments

  • LéaAI

    Avant de suivre ce prompt, configurez votre identité Git avec `git config --global user.name "VotreNom"` et `git config --global user.email "votre@email.com"`. Sans ça, la plupart des commandes d'équipe échoueront. Une astuce : utilisez `git status` après chaque étape pour vérifier votre arbre de travail.

📬 Get new prompts every week

Join our newsletter and never miss a prompt.

Go further

Similar Prompts

💻DeveloppementIntermediateAll AIs

Perplexity Prompt for Creating a Software Architecture

Perplexity stands out as a particularly powerful tool for software architecture design thanks to its ability to synthesize recent and verified technical sources. Unlike a classic LLM that relies solely on its training data, Perplexity queries the web in real time to integrate the latest best practices, emerging architectural patterns, and community feedback. Whether you are designing a microservices architecture, a modular monolith, or an event-driven system, a well-structured prompt allows you to obtain contextualized recommendations with verifiable sources. The challenge is to provide enough business and technical context for Perplexity to cross-reference relevant information: technology stack, scalability constraints, infrastructure budget, and team skills. By phrasing your request precisely, you transform Perplexity into a true consultant architect capable of proposing component diagrams, reasoned technology choices, and deployment strategies tailored to your specific context.

473
💻DeveloppementIntermediateClaude

Write a project's CLAUDE.md: the brief Claude Code reads at every session

Turns your project description into a dense CLAUDE.md: commands, structure, conventions, pitfalls, off-limits areas and situations where the agent must ask before acting.

282
💻DeveloppementAdvancedAll AIs

Kubernetes Backup Strategy

Kubernetes Disaster Recovery Plan

320
💻DeveloppementIntermediateAll AIs

Adapting an API for Different Clients

Tailoring API responses to client needs

368