DevOps

Version Control & Git

Git basics, branches, merge, rebase, pull requests, commit conventions, gitflow workflow

20 питань зі співбесід·
Junior
1

What is Git?

Відповідь

Git is a distributed version control system that tracks changes to source code over time. Each developer has a complete copy of the project history on their local machine, unlike centralized systems like SVN. This enables offline work and provides better resilience as there is no single point of failure.

2

Which command initializes a new Git repository in a folder?

Відповідь

The git init command creates a new local Git repository in the current directory by creating a hidden .git subfolder containing all repository metadata files. This command is the first step to start tracking changes with Git in an existing or new project.

3

Which command adds files to the staging area (index) before committing them?

Відповідь

The git add command adds file changes to the staging area (transit zone). This intermediate step between modification and commit allows you to precisely select which changes to include in the next commit. For example, git add . adds all modified files, while git add file.txt adds only that specific file.

4

Which command records changes from the staging area into Git history?

5

How to create a new Git branch and switch to it immediately?

+17 питань зі співбесід

Інші теми співбесід DevOps

Linux Fundamentals

Junior
22 запитань

Shell Scripting & Bash

Mid-Level
20 запитань

Networking Basics

Junior
22 запитань

Docker Fundamentals

Junior
24 запитань

CI/CD Fundamentals

Junior
18 запитань

GitHub Actions

Mid-Level
22 запитань

GitLab CI/CD

Mid-Level
22 запитань

Jenkins

Mid-Level
22 запитань

Kubernetes Basics

Mid-Level
26 запитань

Kubernetes Networking

Mid-Level
24 запитань

Kubernetes Advanced

Mid-Level
24 запитань

Ingress & API Gateway

Mid-Level
20 запитань

Terraform Basics

Mid-Level
22 запитань

Terraform Advanced

Mid-Level
22 запитань

Ansible & Configuration Management

Mid-Level
20 запитань

AWS Essentials

Mid-Level
26 запитань

Azure Fundamentals

Mid-Level
22 запитань

GCP Fundamentals

Mid-Level
22 запитань

Monitoring & Prometheus

Mid-Level
22 запитань

Logging & ELK Stack

Mid-Level
20 запитань

Alerting & Incident Response

Mid-Level
20 запитань

Cloud Identity & Secrets

Mid-Level
22 запитань

CI/CD Pipeline Security

Mid-Level
20 запитань

Helm & Kubernetes

Mid-Level
20 запитань

Runtime & Cluster Security

Senior
24 запитань

Container Supply Chain Security

Senior
22 запитань

Service Mesh & Istio

Senior
24 запитань

GitOps & ArgoCD

Senior
22 запитань

Progressive Delivery

Senior
20 запитань

Distributed Observability

Senior
22 запитань

Disaster Recovery & Backup

Senior
20 запитань

Performance Optimization

Senior
22 запитань

Cloud Cost Optimization

Senior
20 запитань

SRE Principles

Senior
24 запитань

Chaos Engineering

Senior
20 запитань

Platform Engineering

Senior
22 запитань

Опануй DevOps для наступної співбесіди

Отримай доступ до всіх питань, flashcards, технічних тестів, вправ code review та симуляторів співбесід.

Почни безкоштовно