I'm trying to change git user's home directory using:

sudo usermod -d /home/git git


However, the response I receive is: "user git is currently logged in".
How can I logout that user, change the home directory and then login it again?

Thanks


Question: What does "deal" and "take " person mean?
Answer: In this example, it looks like deal and take are being used in the same way that dish out and take are used in the following example (from wiktionary's dish out entry):


  She can dish out criticism but she can't take it.


Just what it is that's being dealt or taken depends on context, but common examples include criticism, orders, and unsolicited advice.