title: How can I push specific files to GitLab after I have committed multiple files (including those which I need to push) in a local repository?
body: <p>I have already committed the following files in the local Git repository:</p>
  <ul>
  <li>dir1/file1</li>
  <li>dir1/file2</li>
  <li>dir2/file3</li>
  <li>dir2/file4</li>
  </ul>
  <p>Now I want to push only two files out of four files, i.e., <em>dir1/file1</em> and <em>dir2/fil4</em> to GitLab. Is it possible? If yes, what is the appropriate Git command?</p>