Skip to content

Commit 0e51795

Browse files
committed
update lentils to branch.html and update content
1 parent 3a8470c commit 0e51795

2 files changed

Lines changed: 77 additions & 11 deletions

File tree

Wireframe/branch.html

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
<!doctype html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" >
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0" >
6+
<title>Git branch</title>
7+
<link rel="stylesheet" href="style.css" >
8+
</head>
9+
<body>
10+
<header>
11+
<h1>Git branch</h1>
12+
</header>
13+
<main>
14+
<article>
15+
<h2>what is a branch in Git?</h2>
16+
<p>
17+
A branch in Git is a lightweight, movable pointer to a specific commit
18+
in a repository. Branches allow developers to work on different
19+
features, bug fixes, or experiments independently without affecting
20+
the main codebase. They are one of Git’s most important features
21+
because they enable parallel development and make collaboration
22+
easier.
23+
</p>
24+
<p>
25+
When a Git repository is created, it usually starts with a default
26+
branch, commonly called main (previously often called master). This
27+
branch contains the stable version of the project. Developers can
28+
create new branches from the main branch to work on separate tasks.
29+
For example, if a team is adding a new login feature, a developer
30+
might create a branch named login-feature. Any changes made on this
31+
branch remain isolated from the main branch until they are ready to be
32+
integrated.
33+
</p>
34+
<p>
35+
Creating a branch is fast and efficient because Git does not copy all
36+
project files. Instead, it creates a new pointer to an existing
37+
commit. As development progresses, commits made on the branch record
38+
changes independently of other branches. This allows multiple
39+
developers to work on different parts of a project at the same time
40+
without interfering with each other’s work.
41+
</p>
42+
<p>
43+
Once the work on a branch is complete and tested, it can be merged
44+
back into the main branch. Merging combines the changes from the
45+
branch with the target branch. Git automatically merges changes when
46+
possible, but if two branches modify the same part of a file, a merge
47+
conflict may occur. Developers must then manually resolve the conflict
48+
before completing the merge.
49+
</p>
50+
<p>
51+
Branches are also useful for experimentation. A developer can create a
52+
branch to test a new idea without risking the stability of the main
53+
project. If the experiment succeeds, it can be merged; if not, the
54+
branch can simply be deleted.
55+
</p>
56+
<p>
57+
In summary, a Git branch is a separate line of development within a
58+
repository. It enables developers to work independently, collaborate
59+
efficiently, test new ideas safely, and maintain a stable main
60+
codebase. By isolating changes until they are ready to be integrated,
61+
branches help teams manage software development in an organized and
62+
flexible manner.
63+
</p>
64+
</article>
65+
</main>
66+
<footer>
67+
<p>Legumes For All &copy; 2026</p>
68+
</footer>
69+
</body>
70+
</html>

Wireframe/index.html

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,10 @@ <h1>Wireframing and documenting your code</h1>
2424
/>
2525
<h2>What is the purpose of a README file?</h2>
2626
<p>
27-
Legumes, a diverse group including beans, lentils, peas, and
28-
chickpeas, are nutritional powerhouses that offer significant benefits
29-
for human health ...
27+
A README file is a document that provides essential information about
28+
a project, software application, repository, or product...
3029
</p>
31-
<a href="" target="_blank">Read more</a>
30+
<a href="readme.html" target="_blank">Read more</a>
3231
</article>
3332

3433
<article>
@@ -38,11 +37,9 @@ <h2>What is the purpose of a README file?</h2>
3837
/>
3938
<h2>What is the purpose of a wireframe?</h2>
4039
<p>
41-
Lentils are often called a superfood, and for good reason. These
42-
small, lens-shaped legumes pack a powerful nutritional punch, making
43-
them an excellent addition to any diet ...
40+
A wireframe is a fundamental tool in the fields of web design, app development, and user interface (UI) design. It serves as a blueprint or schematic representation of a digital product, outlining its structure, layout...
4441
</p>
45-
<a href="lentils.html" target="_blank">Read more</a>
42+
<a href="wireframe.html" target="_blank">Read more</a>
4643
</article>
4744

4845
<article>
@@ -52,9 +49,8 @@ <h2>What is the purpose of a wireframe?</h2>
5249
/>
5350
<h2>What is a branch in Git?</h2>
5451
<p>
55-
Chickpeas, also known as garbanzo beans, are tiny legumes with big
56-
nutritional benefits, earning them the title of a superfood. Packed
57-
with plant-based protein, chickpeas are excellent for muscle repair
52+
53+
A branch in Git is a lightweight, movable pointer to a specific commit in a repository. Branches allow developers to work on different features, bug fixes, or experiments independently without affecting the main codebase ...
5854

5955
</p>
6056
<a href="" target="_blank">Read more</a>

0 commit comments

Comments
 (0)