{"id":9528,"date":"2026-06-03T06:04:31","date_gmt":"2026-06-03T04:04:31","guid":{"rendered":"https:\/\/mybox.com\/help\/?post_type=manual_kb&#038;p=9528"},"modified":"2026-06-03T06:04:32","modified_gmt":"2026-06-03T04:04:32","slug":"ce-este-git","status":"publish","type":"manual_kb","link":"https:\/\/mybox.com\/help\/ro\/knowledgebase\/what-is-git\/","title":{"rendered":"Ce este Git?"},"content":{"rendered":"<div class=\"translation-block translation-block-merged\">\n<p class=\"wp-block-paragraph\">Git is a distributed version control system used to track changes in files and source code during software development. It helps individuals and teams manage project history, collaborate on changes, and maintain different versions of a project.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Git was created by Linus Torvalds during the development of the Linux kernel. It was designed to provide a fast, reliable, and efficient way to manage large software projects involving many files and contributors.<\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_86 ez-toc-wrap-left counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/what-is-git\/#What_Is_Version_Control\" >What Is Version Control?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/what-is-git\/#How_Does_Git_Work\" >How Does Git Work?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/what-is-git\/#Collaboration_with_Git\" >Collaboration with Git<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/what-is-git\/#Distributed_Version_Control\" >Distributed Version Control<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/what-is-git\/#Common_Uses_of_Git\" >Common Uses of Git<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/what-is-git\/#Git_and_GitHub\" >Git and GitHub<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/what-is-git\/#Summary\" >Summary<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"What_Is_Version_Control\"><\/span>What Is Version Control?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<\/div>\n\n<div id=\"mybox-429648635\" class=\"mybox-content mybox-entity-placement\"><div class=\"early-access-banner-inpost\">\r\n  <div class=\"banner-left-inpost\">\r\n    <div class=\"icon-box-inpost\">\r\n      <img decoding=\"async\" src=\"https:\/\/mybox.com\/help\/wp-content\/uploads\/2026\/02\/square-info-icon.svg\" alt=\"Info\">\r\n    <\/div>\r\n    <div class=\"text-box-inpost\">\r\n      <span class=\"label-inpost\"><span class=\"translation-block translation-block-banner-text\">Acces timpuriu<\/span><\/span>\r\n      <h4><span class=\"translation-block translation-block-banner-text\">Mai ave\u021bi nevoie de ajutor?<\/span><\/h4>\r\n      <p><span class=\"translation-block translation-block-banner-text\">Contacta\u021bi echipa noastr\u0103 de servicii pentru clien\u021bi.<\/span><\/p>\r\n    <\/div>\r\n  <\/div>\r\n\r\n  <div class=\"banner-right-inpost\">\r\n    <a href=\"https:\/\/panel.mybox.com\/helpdesk2\/v\/list\/\" class=\"banner-button-inpost\"><span class=\"translation-block translation-block-banner-text\">Trimite mesaj<\/span><\/a>\r\n  <\/div>\r\n<\/div><\/div>\n\n<div class=\"translation-block translation-block-merged\"><p class=\"wp-block-paragraph\">Version control is the process of tracking changes made to files over time.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">With Git, developers can:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Record changes to a project<\/li>\n\n\n\n<li>Restore previous versions of files<\/li>\n\n\n\n<li>Compare different versions of code<\/li>\n\n\n\n<li>Work on new features without affecting the main project<\/li>\n\n\n\n<li>Collaborate with other developers<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">This makes it easier to manage projects as they grow and evolve.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"How_Does_Git_Work\"><\/span>How Does Git Work?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Git stores a complete history of changes made to a project.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">When a file is modified, Git can record:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>What changed<\/li>\n\n\n\n<li>Who made the change<\/li>\n\n\n\n<li>When the change was made<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Developers can save these changes as snapshots called <strong>commits<\/strong>, creating a timeline of the project&#8217;s development.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Collaboration_with_Git\"><\/span>Collaboration with Git<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">One of Git&#8217;s main advantages is its support for collaborative development.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Multiple developers can work on the same project simultaneously without overwriting each other&#8217;s work.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Git allows users to:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Create separate branches for new features<\/li>\n\n\n\n<li>Merge completed work into the main project<\/li>\n\n\n\n<li>Review changes before publishing them<\/li>\n\n\n\n<li>Resolve conflicts when multiple people edit the same files<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">This helps teams work more efficiently while maintaining control over project changes.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Distributed_Version_Control\"><\/span>Distributed Version Control<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Git is a distributed version control system, which means each user has a complete copy of the repository and its history.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This provides several benefits:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Work can continue without an internet connection.<\/li>\n\n\n\n<li>Every copy contains a backup of the project history.<\/li>\n\n\n\n<li>Changes can be synchronized when connectivity is available.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Because the repository exists locally, many Git operations are fast and do not depend on a remote server.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Common_Uses_of_Git\"><\/span>Common Uses of Git<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Git is widely used for:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Software development<\/li>\n\n\n\n<li>Website development<\/li>\n\n\n\n<li>Infrastructure and configuration management<\/li>\n\n\n\n<li>Documentation projects<\/li>\n\n\n\n<li>Open-source collaboration<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">It has become one of the most widely adopted version control systems in the technology industry.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Git_and_GitHub\"><\/span>Git and GitHub<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Git is often associated with platforms such as GitHub, but they are not the same thing.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Git<\/strong> is the version control system itself.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>GitHub<\/strong> is a cloud-based platform that hosts Git repositories and provides additional collaboration and project management tools.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Other Git hosting platforms include GitLab and Bitbucket.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Summary\"><\/span>Summary<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Git is a distributed version control system that helps track changes, manage project history, and support collaboration between developers. By allowing multiple contributors to work on the same project while maintaining a complete history of changes, Git has become a standard tool for software and web development projects of all sizes.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n<\/div>","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"template":"","format":"standard","manualknowledgebasecat":[28],"manual_kb_tag":[5278,5279,5280,5281,5282,5283,5267,5275,5276,5277],"class_list":["post-9528","manual_kb","type-manual_kb","status-publish","format-standard","hentry","manualknowledgebasecat-others","manual_kb_tag-branching-and-merging","manual_kb_tag-commit-history","manual_kb_tag-repository-management","manual_kb_tag-merge-conflict-resolution","manual_kb_tag-code-collaboration","manual_kb_tag-code-review","manual_kb_tag-version-control","manual_kb_tag-distributed-version-control","manual_kb_tag-source-code-management","manual_kb_tag-git-workflows"],"_links":{"self":[{"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/manual_kb\/9528","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/manual_kb"}],"about":[{"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/types\/manual_kb"}],"author":[{"embeddable":true,"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/users\/1"}],"version-history":[{"count":1,"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/manual_kb\/9528\/revisions"}],"predecessor-version":[{"id":9529,"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/manual_kb\/9528\/revisions\/9529"}],"wp:attachment":[{"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/media?parent=9528"}],"wp:term":[{"taxonomy":"manualknowledgebasecat","embeddable":true,"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/manualknowledgebasecat?post=9528"},{"taxonomy":"manual_kb_tag","embeddable":true,"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/manual_kb_tag?post=9528"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}