Git is a distributed version control system DVCS designed for efficient source code management, suitable for both small and large projects. It allows multiple developers to work on a project simultaneously without overwriting changes, supporting collaborative work, continuous integration, and deployment. This Git and GitHub tutorial is designed for beginners to learn fundamentals and advanced concepts, including branching, pushing, merging conflicts, and essential Git commands. Prerequisites include familiarity with the command line interface CLI, a text editor, and basic programming concepts. Git was developed by Linus Torvalds for Linux kernel development and tracks changes, manages versions, and enables collaboration among developers. It provides a complete backup of project history in a repository. GitHub is a hosting service for Git repositories, facilitating project access, collaboration, and version control. The tutorial covers topics such as Git installation, repository creation, Git Bash usage, managing branches, resolving conflicts, and working with platforms like Bitbucket and GitHub. The text is a comprehensive guide to using Git and GitHub, covering a wide range of topics. It includes instructions on working directories, using submodules, writing good commit messages, deleting local repositories, and understanding Git workflows like Git Flow versus GitHub Flow. There are sections on packfiles, garbage collection, and the differences between concepts like HEAD, working tree, and index. Installation instructions for Git across various platforms Ubuntu, macOS, Windows, Raspberry Pi, Termux, etc. are provided, along with credential setup. The guide explains essential Git commands, their usage, and advanced topics like debugging, merging, rebasing, patch operations, hooks, subtree, filtering commit history, and handling merge conflicts. It also covers managing branches, syncing forks, searching errors, and differences between various Git operations e.g., push origin vs. push origin master, merging vs. rebasing. The text provides a comprehensive guide on using Git and GitHub. It covers creating repositories, adding code of conduct, forking and cloning projects, and adding various media files to a repository. The text explains how to push projects, handle authentication issues, solve common Git problems, and manage repositories. It discusses using different IDEs like VSCode, Android Studio, and PyCharm, for Git operations, including creating branches and pull requests. Additionally, it details deploying applications to platforms like Heroku and Firebase, publishing static websites on GitHub Pages, and collaborating on GitHub. Other topics include the use of Git with R and Eclipse, configuring OAuth apps, generating personal access tokens, and setting up GitLab repositories. The text covers various topics related to Git, GitHub, and other version control systems Key Pointers Git is a distributed version control system DVCS for source code management. Supports collaboration, continuous integration, and deployment. Suitable for both small and large projects. Developed by Linus Torvalds for Linux kernel development. Tracks changes, manages versions, and provides complete project history. GitHub is a hosting service for Git repositories. Tutorial covers Git and GitHub fundamentals and advanced concepts. Includes instructions on installation, repository creation, and Git Bash usage. Explains managing branches, resolving conflicts, and using platforms like Bitbucket and GitHub. Covers working directories, submodules, commit messages, and Git workflows. Details packfiles, garbage collection, and Git concepts HEAD, working tree, index. Provides Git installation instructions for various platforms. Explains essential Git commands and advanced topics debugging, merging, rebasing. Covers branch management, syncing forks, and differences between Git operations. Discusses using different IDEs for Git operations and deploying applications. Details using Git with R, Eclipse, and setting up GitLab repositories. Explains CI/CD processes and using GitHub Actions. Covers internal workings of Git and its decentralized model. Highlights differences between Git version control system and GitHub hosting platform.
HTML
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Login Form | Codegyan Pvt Ltd</title>
<link rel="stylesheet" href="./style.css">
</head>
<body>
<div class="container">
<img src="./rocket.png" alt="rocket" class="rocket">
<div class="text">
<h1>LOGIN</h1>
<p>LANDING PAGE</p>
</div>
<form class="form">
<div class="animated-input">
<input type="text" placeholder="Username">
<input type="password" placeholder="Password">
</div>
<div class="check">
<div>
<input type="checkbox" id="check">
<label for="check" class="disc"></label>
<label for="check" class="remember">Remember</label>
</div>
<p class="forget"><a href="#">Forget Password ?</a></p>
</div>
</form>
<button class="btn" type="submit">LOGIN</button>
<p class="account"><a href="#">Create Account ?</a></p>
</div>
</body>
</html>
CSS
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
overflow: hidden;
padding-top: 200px;
background-image: url("./bg1.svg");
background-size: cover;
background-repeat: no-repeat;
font-family: 'Montserrat',sans-serif;
}
.container {
position: relative;
width: 400px;
padding: 30px 50px;
background: #FFF;
text-align: center;
border-radius: 100% 0% 0% 0% / 55% 0% 0% 0%;
}
.container::after {
content: '';
position: absolute;
top: -200px;
left: 0;
right: 0;
width: 100%;
height: 420px;
background-image: url('./bg2.png');
background-position: top;
background-size: cover;
z-index: -11;
}
.container .rocket {
width: 300px;
position: absolute;
top: -120px;
right: -9%;
animation: animate 1s ease infinite alternate;
transition: all 0.3s ease;
}
.container .text {
margin: 30px 0 5px 0;
}
.container .text h1 {
color: #9900FF;
font-size: 2.5rem;
}
.container .text p {
font-size: 1.5rem;
color: #ff14b1;
}
.container .form .animated-input {
display: flex;
flex-direction: column;
}
.container .form .animated-input input[type='text'] ,
.container .form .animated-input input[type='password'] {
font-size: 1.3rem;
padding: 20px 10px 2px 10px;
outline: none;
border: none;
border-bottom: solid 1px #616161;
background: none;
transition: all 0.3s ease;
}
.container .form .animated-input input[type='text']:focus ,
.container .form .animated-input input[type='password']:focus {
padding: 20px 10px;
border-color: #ff14b1;
}
.container .form .animated-input input[type='password'] {
margin-top: 10px;
}
.container .form .check {
display: flex;
justify-content: space-between;
margin: 10px 0;
user-select: none;
}
.container .form .check input {
display: none;
}
.container .form .check .disc {
width: 15px;
height: 15px;
border-radius: 50%;
background: #fff;
display: inline-block;
cursor: pointer;
box-shadow: 0 0 3px #000;
transition: 0.2s ease;
}
.container .form .check input:checked ~ .disc {
background: #9900FF;
}
.container .form .check .remember {
color: #9900FF;
font-weight: bold;
}
.container .form .check .forget a {
text-decoration: none;
color: #616161;
}
.container .form .check .forget a:hover {
color: #9900FF;
}
.container .btn {
border: none;
outline: none;
width: 200px;
padding: 15px;
margin: 10px auto;
font-size: 1.5rem;
color: #fff;
background: #ff14b1;
border-radius: 20px;
cursor: pointer;
box-shadow: 1px 1px 6px #616161;
transition: ALL 0.3s ease;
}
.container .btn:hover {
background: #ff3BD5;
}
.container .account a {
text-decoration: none;
color: #616161;
}
.container .account a:hover {
color: #9900FF;
}
@keyframes animate {
0% {top: -120px;}
100% {top: -130px;}
}
Also Read : How To Install WordPress Manually in 2022If you wann to check the demo of this code, then you can check using below demo button. Click on the following download button to download all source code files of Newsletter Subcribe Modal directly on your computer. You can also download this code from github.