This tutorial aims to make it easy to get the source code of an application, build and install it in your home directory without interfering with your system.
Make sure to set up git URL renaming properly, so that you can use commands below.
You should also configure your git user name and email as mentioned on the git configuration page.
If you don't know the right name, check out projects.kde.org to find the right project name.
Let's assume you want to build Parley from KDE Education and found that it's project name is simply parley.
Once you have the project name, create a directory which you will use for development. We'll use /home/username/devel/src for our source code.
mkdir -p ~/devel/src cd ~/devel/src
And check out the application there:
git clone kde:parley